package com.dht.xiao.jianye.command.base;

import android.content.Context;
import android.util.ArrayMap;

import com.dht.xiao.jianye.command.base.callback.IMqttAndSerialPortCallback;
import com.dht.xiao.jianye.command.base.serialport.SerialPortService;

import java.util.Map;

/**
 * @author :      fangbingran
 * @aescription : todo(这里用一句话描述这个类的作用)
 * @date :        2019/07/29  09:53
 */
public class MqttAndSerialPortProxy {
    private static class InstanceMqttAndSerialPortProxy {
        private static final MqttAndSerialPortProxy INSTANCE = new MqttAndSerialPortProxy();
    }

    public static MqttAndSerialPortProxy get() {
        return InstanceMqttAndSerialPortProxy.INSTANCE;
    }

    private Map<String, SerialPortService> map = new ArrayMap<>();

    public void init(Context context, IMqttAndSerialPortCallback iMqttAndSerialPortCallback) {

    }
}
